SET(CMAKE_C_COMPILER ${CC})
SET(CMAKE_CXX_COMPLILER ${CXX})
SET(CMAKE_C_FLAGS ${CFLAGS})
SET(CMAKE_CXX_FLAGS ${CXXFLAGS})
SET(CMAKE_AR ${AR})
SET(CMAKE_RANLIB ${RANLIB})